//安装npm: npm install lodash
//卸载npm: npm uninstall lodash

const customeName = require('lodash');
let example = customeName.fill([1,2,3,4,5],'banbana',1,4);//将数组中index1(下标从0开始)之后，index2之前的数据替换成banaba
console.log(example);